﻿if not ArmorCraft_revision then ArmorCraft_revision = {} end
ArmorCraft_revision.deDE	= ("$Revision: 137 $"):match("(%d+)")

-- Localization code
local L = LibStub("AceLocale-3.0"):NewLocale("ArmorCraft", "deDE")

if L then

-- Type of craft that works with ArmorCraft
L['Blacksmithing']	= 'Schmiedekunst'
L['Leatherworking']	= 'Lederverarbeitung'
L['Tailoring']			= 'Schneiderei'
L['Engineering']		= 'Ingenieurskunst'
L['Jewelcrafting']	= 'Juwelenschleifen'
L['Inscription']		= 'Inschriftenkunde'

-- Player class (when used in the UI)
L['DEATHKNIGHT']	= 'Todesritter'
L['DRUID'] 			= 'Druide'
L['HUNTER']			= 'J\195\164ger'
L['MAGE']			= 'Magier'
L['PALADIN']		= 'Paladin'
L['PRIEST']			= 'Priester'
L['ROGUE']			= 'Schuke'
L['SHAMAN']			= 'Shamane'
L['WARLOCK']		= 'Hexenmeister'
L['WARRIOR']		= 'Krieger'

-- Extra Armor location names
L['Finger 2']		= true
L['Trinket 2']		= true

--[[
INVTYPE_2HWEAPON = "Two-Hand"; -- Two-hand type
INVTYPE_AMMO = "Ammo";
INVTYPE_BAG = "Bag"; -- Bag type
INVTYPE_BODY = "Shirt"; -- Body type
INVTYPE_CHEST = "Chest"; -- Chest type
INVTYPE_CLOAK = "Back"; -- Cloak type
INVTYPE_FEET = "Feet"; -- Feet type
INVTYPE_FINGER = "Finger"; -- Finger type
INVTYPE_HAND = "Hands"; -- Hands type
INVTYPE_HEAD = "Head"; -- Head type
INVTYPE_HOLDABLE = "Held In Off-hand"; -- Holdable type
INVTYPE_LEGS = "Legs"; -- Legs type
INVTYPE_NECK = "Neck"; -- Neck type
INVTYPE_QUIVER = "Quiver";
INVTYPE_RANGED = "Ranged"; -- Ranged type
INVTYPE_RANGEDRIGHT = "Ranged";
INVTYPE_RELIC = "Relic";
INVTYPE_ROBE = "Chest"; -- Robe type
INVTYPE_SHIELD = "Off Hand"; -- Shield type
INVTYPE_SHOULDER = "Shoulder"; -- Shoulder type
INVTYPE_TABARD = "Tabard"; -- Tabard type
INVTYPE_THROWN = "Thrown";
INVTYPE_TRINKET = "Trinket"; -- Trinket type
INVTYPE_WAIST = "Waist"; -- Waist type
INVTYPE_WEAPON = "One-Hand"; -- One-hand type, either hand
INVTYPE_WEAPONMAINHAND = "Main Hand"; -- One-hand type, main hand
INVTYPE_WEAPONMAINHAND_PET = "Main Attack";
INVTYPE_WEAPONOFFHAND = "Off Hand"; -- One-hand type, off hand
INVTYPE_WRIST = "Wrist"; -- Wrist type
]]--

-- itemType texts (http://www.wowwiki.com/ItemType)
-- Armor types
L['Armor']					= _G['ARMOR']
L['Cloth']					= 'Stoff'
L['Leather']				= 'Leder'
L['Mail']					= 'Schwere R\195\188stung'
L['Plate']					= 'Platte'
L['Shields']				= 'Schilde'
L['Librams']				= 'Buchb\195\188nde'
L['Idols']					= 'G\195\182tze'
L['Totems']					= true
L['Held In Off-hand']	= _G['INVTYPE_HOLDABLE']
L['Miscellaneous']		= _G['MISCELLANEOUS']

-- Weapon types
L['Weapon'] 				= 'Waffe'
L['One-Handed Axes'] 	= "Einhand\195\164xte"
L['Daggers'] 				= "Dolche"
L['Fist Weapons'] 		= "Faustwaffen"
L['One-Handed Maces'] 	= "Einhandstreitkolben"
L['Polearms'] 				= "Stangenwaffen"
L['Bows'] 					= 'B\195\182gen'
L['Crossbows'] 			= 'Armbr\195\188ste'
L['Staves']					= "St\195\164be";
L['One-Handed Swords']	= "Einhandschwerter";
L['Two-Handed Axes']		= "Zweihand\195\164xte";
L['Two-Handed Maces']	= "Zweihandstreitkolben";
L['Two-Handed Swords']	= "Zweihandschwerter";
L['Bows'] 					= 'B\195\182gen'
L['Crossbows'] 			= 'Armbr\195\188ste'
L['Guns'] 					= 'Schusswaffen'
L['Thrown']					= "Wurfwaffen";
L['Wands'] 					= 'Zauberst\195\164be'
L['Fishing Poles']		= "Angelruten";


-- For tooltip parsing
L['PARSE_GUN'] 			= 'Schusswaffe'
L['PARSE_BOE']      		= "Wird beim Anlegen gebunden";
L['PARSE_BOP']      		= "Wird beim Aufheben gebunden"
L['PARSE_BOU']      		= "Wird beim Benutzen gebunden"
L['PARSE_SOULBOUND']		= "Seelengebunden"
L['PARSE_UNIQUE']   		= "Einzigartig"
L['PARSE_UNIQUE_EQUIP'] = "Einzigartig-Angelegt";
L['PARSE_ARMOR']    		= "^(%d+) R\195\188stung";
L['PARSE_REQUIRES'] 		= "^Ben\195\182tigt Stufe (%d+)";
L['PARSE_DPS'] 			= "^%((%d+%.%d) Schaden pro Sekunde%)";

-- For dropdown menu
L['MENU_SELECT'] 			= "Ausw\195\164hlen";

-- Short names
L['Off Hand']				= true
L['1-H Axes']				= true
L['1-H Maces']				= true
L['1-H Swords']			= true
L['2-H Axes']				= true
L['2-H Maces']				= true
L['2-H Swords']			= true


-- Default formula names
L['Death Knight : Blood']	= true
L['Death Knight : Frost']	= true
L['Death Knight : Unholy']	= true
L['Druid Feral DPS']			= true
L['Holy Priest Wand']		= true
L['Holy Priest']				= true
L['Hunter Range']				= true
L['Hunter']						= true
L['Mage Arc']					= true
L['Mage Fire']					= true
L['Mage Frost']				= true
L['Mage Wand']					= true
L['Mage']						= true
L['Paladin']					= true
L['Rogue Dagger AEP']		= true
L['Rogue Dagger MAEP']		= true
L['Rogue Main Hand AEP']	= true
L['Rogue Main Hand MAEP']	= true
L['Rogue Off Hand AEP']		= true
L['Rogue Off Hand MAEP']	= true
L['Shadow Priest Wand']		= true
L['Shadow Priest']			= true
L['Shaman AEP']				= true
L['Shaman OH AEP']			= true
L['Warlock']					= true
L['Warrior Fury']				= true


-- Messages
ARMORCRAFT_NOWINDOW = "Kein Berufsfenster ge\195\182ffnet.";
ARMORCRAFT_NOTARMOR = " stellt keine R\195\188stungen her.";
ARMORCRAFT_BADLEVEL = "Level muss zwischen 1 and 60 liegen.";
ARMORCRAFT_NOSELECT = "Keine Auswahl f\195\188r ";
ARMORCRAFT_NOCLASS = "Keine Charakterklasse ausgew\195\164hlt.";
ARMORCRAFT_NOITEM = "Nichts zum Herstellen ausgew\195\164hlt.";
ARMORCRAFT_CLASS = "Attributwerte f\195\188r Klasse %s.";
ARMORCRAFT_RESET = " Wert zur\195\188ckgesetzt.";
ARMORCRAFT_SKIP     	= "Breche Auswahl ab ";
ARMORCRAFT_EMPTY = "Die Werteliste der Gegenst\195\164nde ist leer.";
ARMORCRAFT_BADFORMAT= "Falsches Wert-Format: ";
ARMORCRAFT_UNDEFINED= "Unbekannter Name: ";
ARMORCRAFT_WRONG = "Falscher Gegenstandstyp zum Vergleich.";
ARMORCRAFT_ACTIP = "Klicken, um das ArmorCraft Fenster\nanzuzeigen/zu verbergen.";
ARMORCRAFT_USETIP = "Klicken, um den ausgew\195\164hlten\nGegenstand zu vergleichen.";
ARMORCRAFT_PARTYTIP = "Klicken, um Gruppenmitglieder\nanzuzeigen/zu verbergen.";
ARMORCRAFT_DELETECACHE = "Lsche alle zwischengespeicherten Werte";
ARMORCRAFT_INVALIDLINK	= "kein g9ltiger itemLink: ";
ARMORCRAFT_RESET = "Formelwerte auf Standard setzten";
--AC_LEVEL = "Level";
--AC_CLASS = "Klasse";



-- Help text
AC_Help = { ['?'] = 'Armorcraft';
	ac = { ['?'] = "The main chat command",
			 [''] = "Toggle the ArmorCraft window",
			 ['<name>'] = "Change the AC target to <name>",
			 ['reset'] = "Reset the formulas to the default values",
	};
};

end